﻿<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="pg" uri="http://jsptags.com/tags/navigation/pager" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!doctype html>
<html><HEAD><TITLE>青鸟租房 - 用户登录</TITLE>
  <meta charset="UTF-8"/>
  <base href="${pageContext.request.contextPath}/"/>
  <LINK rel=stylesheet type=text/css href="css/style.css"><HEAD>
    <link rel="stylesheet" href="webjars/css/bootstrap.css">
<TITLE>青鸟租房 - 用户管理</TITLE>

<META name=GENERATOR ></HEAD>
<BODY>
<DIV id=header class=wrap>
<DIV id=logo><IMG src="../images/logo.gif"></DIV>
<DIV class=search><LABEL class="ui-green searchs"><a href="fabu.htm" title="">发布房屋信息</a></LABEL> 
<LABEL class=ui-green><INPUT onclick='document.location="index.jsp"' value="退       出" type=button name=search></LABEL> 
</DIV></DIV>
<DIV class="main wrap">
<DIV id=houseArea>
<TABLE class=house-list>
  <TBODY>
  <c:forEach items="${pager.rows}" var="h">
    <TR>
      <TD class=house-thumb><SPAN><A href="details.htm" target="_blank"><img src="../images/thumb_house.gif" width="100" height="75" alt=""></A></SPAN></TD>
      <TD>
        <DL>
          <DT><A href="details.htm" target="_blank">${h.title}</A></DT>
          <DD>${h.street.name} ${h.street.district.name},${h.floorage}平米<BR>联系方式：${h.contact} </DD></DL></TD>
      <TD class=house-type><LABEL class=ui-green><INPUT onclick=update(46) value="修    改" type=button name=search></LABEL></TD>
      <TD class=house-price><LABEL class=ui-green><INPUT value="删    除" type=button name=search></LABEL></TD>
    </TR>
  </c:forEach>


  </TBODY></TABLE></DIV>
<DIV>

  <pg:pager url="house/guanli" items="${pager.total}" maxPageItems="5" export="curr=pageNumber">
      <ul class="pagination pull-right">
        <pg:first>
          <li><a href="${pageUrl}">首页</a></li>
        </pg:first>
        <pg:prev>
          <li><a href="${pageUrl}">上一页</a></li>
        </pg:prev>
        <pg:pages>
          <li class="${curr==pageNumber?'active':''}"><a href="${pageUrl}">${pageNumber}</a></li>
        </pg:pages>
        <pg:next>
          <li><a href="${pageUrl}">下一页</a></li>
        </pg:next>
        <pg:last>
          <li><a href="${pageUrl}">尾页</a></li>
        </pg:last>
      </ul>
  </pg:pager>





 </DIV>
</DIV>
<DIV id=footer class=wrap>
<DL>
  <DT>青鸟租房 © 2010 北大青鸟 京ICP证1000001号</DT>
  <DD>关于我们 · 联系方式 · 意见反馈 · 帮助中心</DD></DL></DIV></BODY></HTML>
